package jdk8的特性.函数式接口.过滤式案例.策略;

/**
 * @author idea
 * @data 2018/9/15
 */
public class Factory01 implements Streagy{
    @Override
    public boolean divideObj(String number) {
        if(number.startsWith("f1")){
            System.out.println("车间1搜索");
        }
        return true;
    }
}
